package draw.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@NotNull(message = "注册参数不能为空")
public class UserRequestParam {
    @NotBlank(message = "userName不能为空")
    String name;

    String password;

    @NotBlank(message = "email不能为空")
    String mail;

    //不需要了
//    @NotBlank(message = "phoneNumber不能为空")
    String phoneNumber = "15333333333";


    @NotBlank(message = "identity不能为空")
    String identity;
}
